import "./config";

import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "@/permission"; // permission control
import Storage from "vue-ls";
import config from "@/defaultSettings";
import './core/lazy_use' // use lazy load components

Vue.config.productionTip = false;
Vue.use(Storage, config.storageOptions);

import 'ant-design-vue/dist/antd.less' // or 'ant-design-vue/dist/antd.less'
import './global.less' // global style


Vue.prototype.$fileBaseURL = Vue.prototype.API_BASE_URL;
Vue.prototype.$fileUploadAPI = "api/sys/common/upload";

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
